﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using System.ComponentModel.DataAnnotations;


namespace KingRoad.EPM.CompletionMaterialsEntity.Model
{
    /// <summary> 
    /// 竣工资料—案卷目录表
    /// </summary> 
    [Serializable]
    [ModelMap("Bcd_FileList", new string[] { "Fl_ID" })]
    public class BcdFilelistInfo : BaseEntity
    {
        public BcdFilelistInfo()
        {

        }
        
        
        private string _flId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Fl_ID", System.Data.DbType.String)]
        public string Fl_ID
        {
            get {return _flId;}
            set
            {
                if (object.Equals(this._flId, value) != true)
                {
                    this._flId = value;
                    this.RaisePropertyChanged("Fl_ID");
                }
            }
        }

        private string _pftId;
        /// <summary>
        /// 项目材料类型主键
        /// </summary>
        [ColumnMap("Pft_ID", System.Data.DbType.String)]
        public string Pft_ID
        {
            get { return _pftId; }
            set
            {
                if (object.Equals(this._pftId, value) != true)
                {
                    this._pftId = value;
                    this.RaisePropertyChanged("Pft_ID");
                }
            }
        }

        private string _flFiletype;
        /// <summary>
        /// 文件类型
        /// </summary>
        [ColumnMap("Fl_FileType", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        public string Fl_FileType
        {
            get { return _flFiletype; }
            set
            {
                if (object.Equals(this._flFiletype, value) != true)
                {
                    this._flFiletype = value;
                    this.RaisePropertyChanged("Fl_FileType");
                }
            }
        }
        
        
        private string _flCode;
        /// <summary>
        /// 档案号
        /// </summary>
        [ColumnMap("Fl_Code", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        public string Fl_Code
        {
            get {return _flCode;}
            set
            {
                if (object.Equals(this._flCode, value) != true)
                {
                    this._flCode = value;
                    this.RaisePropertyChanged("Fl_Code");
                }
            }
        }
        
        
        private int _flNumb;
        /// <summary>
        /// 流水号
        /// </summary>
        [ColumnMap("Fl_Numb", System.Data.DbType.Int32)]
        [Required(ErrorMessage = "*")]
        public int Fl_Numb
        {
            get {return _flNumb;}
            set
            {
                if (object.Equals(this._flNumb, value) != true)
                {
                    this._flNumb = value;
                    this.RaisePropertyChanged("Fl_Numb");
                }
            }
        }

        private string _flArchive;
        /// <summary>
        /// 档案馆号
        /// </summary>
        [ColumnMap("Fl_Archive", System.Data.DbType.String)]
        public string Fl_Archive
        {
            get {return _flArchive;}
            set
            {
                if (object.Equals(this._flArchive, value) != true)
                {
                    this._flArchive = value;
                    this.RaisePropertyChanged("Fl_Archive");
                }
            }
        }

         private string _flName;
        /// <summary>
        /// 档案全名
        /// </summary>
        [ColumnMap("Fl_Name", System.Data.DbType.String)]
        public string Fl_Name
        {
            get { return _flName; }
            set
            {
                if (object.Equals(this._flName, value) != true)
                {
                    this._flName = value;
                    this.RaisePropertyChanged("Fl_Name");
                }
            }
        }
        
        private string _flItem;
        /// <summary>
        /// 项目名称
        /// </summary>
        [ColumnMap("Fl_Item", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        public string Fl_Item
        {
            get {return _flItem;}
            set
            {
                if (object.Equals(this._flItem, value) != true)
                {
                    this._flItem = value;
                    this.RaisePropertyChanged("Fl_Item");
                }
            }
        }
        
        
        private string _flFiletitle;
        /// <summary>
        /// 责任者/起讫里程
        /// </summary>
        [ColumnMap("Fl_FileTitle", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        public string Fl_FileTitle
        {
            get {return _flFiletitle;}
            set
            {
                if (object.Equals(this._flFiletitle, value) != true)
                {
                    this._flFiletitle = value;
                    this.RaisePropertyChanged("Fl_FileTitle");
                }
            }
        }
        
        
        private string _flFilename;
        /// <summary>
        /// 文件材料名称
        /// </summary>
        [Required(ErrorMessage = "*")]
        [ColumnMap("Fl_FileName", System.Data.DbType.String)]
        public string Fl_FileName
        {
            get {return _flFilename;}
            set
            {
                if (object.Equals(this._flFilename, value) != true)
                {
                    this._flFilename = value;
                    this.RaisePropertyChanged("Fl_FileName");
                }
            }
        }
        
        
        private string _flUnit;
        /// <summary>
        /// 立卷单位
        /// </summary>
        [ColumnMap("Fl_Unit", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        public string Fl_Unit
        {
            get {return _flUnit;}
            set
            {
                if (object.Equals(this._flUnit, value) != true)
                {
                    this._flUnit = value;
                    this.RaisePropertyChanged("Fl_Unit");
                }
            }
        }
        
        
        private DateTime? _flStartdate;
        /// <summary>
        /// 起始日期
        /// </summary>
        [ColumnMap("Fl_StartDate", System.Data.DbType.DateTime)]
        public DateTime? Fl_StartDate
        {
            get {return _flStartdate;}
            set
            {
                if (object.Equals(this._flStartdate, value) != true)
                {
                    this._flStartdate = value;
                    this.RaisePropertyChanged("Fl_StartDate");
                }
            }
        }
        
        
        private DateTime? _flEnddate;
        /// <summary>
        /// 截至日期
        /// </summary>
        [ColumnMap("Fl_EndDate", System.Data.DbType.DateTime)]
        public DateTime? Fl_EndDate
        {
            get {return _flEnddate;}
            set
            {
                if (object.Equals(this._flEnddate, value) != true)
                {
                    this._flEnddate = value;
                    this.RaisePropertyChanged("Fl_EndDate");
                }
            }
        }
        
        
        private string _flKit;
        /// <summary>
        /// 件数
        /// </summary>
        [ColumnMap("Fl_Kit", System.Data.DbType.String)]
        public string Fl_Kit
        {
            get {return _flKit;}
            set
            {
                if (object.Equals(this._flKit, value) != true)
                {
                    this._flKit = value;
                    this.RaisePropertyChanged("Fl_Kit");
                }
            }
        }
        
        
        private string _flPage;
        /// <summary>
        /// 总页数
        /// </summary>
        [ColumnMap("Fl_Page", System.Data.DbType.String)]
        public string Fl_Page
        {
            get {return _flPage;}
            set
            {
                if (object.Equals(this._flPage, value) != true)
                {
                    this._flPage = value;
                    this.RaisePropertyChanged("Fl_Page");
                }
            }
        }
        
        
        private string _flKept;
        /// <summary>
        /// 保管期限
        /// </summary>
        [ColumnMap("Fl_Kept", System.Data.DbType.String)]
        public string Fl_Kept
        {
            get {return _flKept;}
            set
            {
                if (object.Equals(this._flKept, value) != true)
                {
                    this._flKept = value;
                    this.RaisePropertyChanged("Fl_Kept");
                }
            }
        }
        
        
        private string _flLevel;
        /// <summary>
        /// 密级
        /// </summary>
        [ColumnMap("Fl_Level", System.Data.DbType.String)]
        public string Fl_Level
        {
            get {return _flLevel;}
            set
            {
                if (object.Equals(this._flLevel, value) != true)
                {
                    this._flLevel = value;
                    this.RaisePropertyChanged("Fl_Level");
                }
            }
        }

        private string _flRemark;
        /// <summary>
        /// 备注
        /// </summary>
        [ColumnMap("Fl_Remark", System.Data.DbType.String)]
        public string Fl_Remark
        {
            get { return _flRemark; }
            set
            {
                if (object.Equals(this._flRemark, value) != true)
                {
                    this._flRemark = value;
                    this.RaisePropertyChanged("Fl_Remark");
                }
            }
        }
        
        private string _flFilingman;
        /// <summary>
        /// 立卷人
        /// </summary>
        [ColumnMap("Fl_FilingMan", System.Data.DbType.String)]
        public string Fl_FilingMan
        {
            get {return _flFilingman;}
            set
            {
                if (object.Equals(this._flFilingman, value) != true)
                {
                    this._flFilingman = value;
                    this.RaisePropertyChanged("Fl_FilingMan");
                }
            }
        }
        
        
        private DateTime? _flFilingtime;
        /// <summary>
        /// 立卷时间
        /// </summary>
        [ColumnMap("Fl_FilingTime", System.Data.DbType.DateTime)]
        public DateTime? Fl_FilingTime
        {
            get {return _flFilingtime;}
            set
            {
                if (object.Equals(this._flFilingtime, value) != true)
                {
                    this._flFilingtime = value;
                    this.RaisePropertyChanged("Fl_FilingTime");
                }
            }
        }
        
        
        private string _flCheckman;
        /// <summary>
        /// 检查人
        /// </summary>
        [ColumnMap("Fl_CheckMan", System.Data.DbType.String)]
        public string Fl_CheckMan
        {
            get {return _flCheckman;}
            set
            {
                if (object.Equals(this._flCheckman, value) != true)
                {
                    this._flCheckman = value;
                    this.RaisePropertyChanged("Fl_CheckMan");
                }
            }
        }
        
        
        private DateTime? _flChecktime;
        /// <summary>
        /// 检查时间
        /// </summary>
        [ColumnMap("Fl_CheckTime", System.Data.DbType.DateTime)]
        public DateTime? Fl_CheckTime
        {
            get {return _flChecktime;}
            set
            {
                if (object.Equals(this._flChecktime, value) != true)
                {
                    this._flChecktime = value;
                    this.RaisePropertyChanged("Fl_CheckTime");
                }
            }
        }
        
        
        private string _flTheno;
        /// <summary>
        /// 互见号
        /// </summary>
        [ColumnMap("Fl_TheNo", System.Data.DbType.String)]
        public string Fl_TheNo
        {
            get {return _flTheno;}
            set
            {
                if (object.Equals(this._flTheno, value) != true)
                {
                    this._flTheno = value;
                    this.RaisePropertyChanged("Fl_TheNo");
                }
            }
        }
        
        
        private string _flExplain;
        /// <summary>
        /// 说明
        /// </summary>
        [ColumnMap("Fl_Explain", System.Data.DbType.String)]
        public string Fl_Explain
        {
            get {return _flExplain;}
            set
            {
                if (object.Equals(this._flExplain, value) != true)
                {
                    this._flExplain = value;
                    this.RaisePropertyChanged("Fl_Explain");
                }
            }
        }
        
        
        private int _flOperateuserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Fl_OperateUserID", System.Data.DbType.Int32)]
        public int Fl_OperateUserID
        {
            get {return _flOperateuserid;}
            set
            {
                if (object.Equals(this._flOperateuserid, value) != true)
                {
                    this._flOperateuserid = value;
                    this.RaisePropertyChanged("Fl_OperateUserID");
                }
            }
        }
        
        
        private string _flOperateusername;
        /// <summary>
        /// 操作人名
        /// </summary>
        [ColumnMap("Fl_OperateUserName", System.Data.DbType.String)]
        public string Fl_OperateUserName
        {
            get {return _flOperateusername;}
            set
            {
                if (object.Equals(this._flOperateusername, value) != true)
                {
                    this._flOperateusername = value;
                    this.RaisePropertyChanged("Fl_OperateUserName");
                }
            }
        }
        
        
        private DateTime _flOperatetime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Fl_OperateTime", System.Data.DbType.DateTime)]
        public DateTime Fl_OperateTime
        {
            get {return _flOperatetime;}
            set
            {
                if (object.Equals(this._flOperatetime, value) != true)
                {
                    this._flOperatetime = value;
                    this.RaisePropertyChanged("Fl_OperateTime");
                }
            }
        }

        /// <summary>
        /// 导出文件时的序号
        /// </summary>
        public string index { get;set;}
        
    }
}



